A Formalization of the Semantics of Functional-Logic Programming in Isabelle
نویسندگان
چکیده
Modern functional-logic programming languages like Toy or Curry feature non-strict nondeterministic functions that behave under call-time choice semantics. A standard formulation for this semantics is the CRWL logic, that specifies a proof calculus for computing the set of possible results for each expression. In this paper we present a formalization of that calculus in the Isabelle/HOL proof assistant. We have proved some basic properties of CRWL: closedness under c-substitutions, polarity and compositionality. We also discuss some insights that have been gained, such as the fact that left linearity of program rules is not needed for any of these results to hold.
منابع مشابه
Axiomatic Semantics for Java in Isabelle/HOL
We introduce a Hoare-style calculus for a nearly full subset of sequential Java, which we call Java. In particular, we present solutions to challenging features like exception handling, static initialization of classes and dynamic binding of methods. This axiomatic semantics has been proved sound and complete w.r.t. pour operational semantics of Java, described in earlier papers. To our knowled...
متن کاملAxiomatic Semantics for Java ` ight – Extended
We introduce a Hoare-style calculus for a nearly full subset of sequential Java, which we call Java. This axiomatic semantics has been proved sound and complete w.r.t. our operational semantics of Java, described in earlier papers. The proofs also give new insights into the role of type-safety. All the formalization and proofs have been done with the theorem prover Isabelle/HOL.
متن کاملMechanizing the Metatheory of mini-XQuery
We present a Nominal Isabelle formalization of an expressive core fragment of XQuery, a W3C standard functional language for querying XML documents. Our formalization focuses on results presented in the literature concerning XQuery’s operational semantics, typechecking, and optimizations. Our core language, called mini-XQuery, omits many complications of XQuery such as ancestor and sibling axes...
متن کاملTruth Values and Connectives in Some Non-Classical Logics
The question as to whether the propositional logic of Heyting, which was a formalization of Brouwer's intuitionistic logic, is finitely many valued or not, was open for a while (the question was asked by Hahn). Kurt Gödel (1932) introduced an infinite decreasing chain of intermediate logics, which are known nowadays as Gödel logics, for showing that the intuitionistic logic is not finitely (man...
متن کاملCompiling Foreign Functions in Isabelle
Prerequisites • Knowledge in functional programming (e.g., from the FMFP course) • Knowledge of logic and program verification (at least at the level of the FMFP course) • Background in semantics of programming languages is a plus
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/0908.0494 شماره
صفحات -
تاریخ انتشار 2009